package com.boot.base.service.impl;

import com.boot.base.mbg.model.UmsAdmin;
import com.boot.base.mbg.model.UmsAdminExample;
import com.boot.base.mbg.model.UmsPermission;
import com.boot.base.service.UmsAdminService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

/**
 *UmsAdminService实现类
 */
public class UmsAdminServiceImpl implements UmsAdminService {
    private static final Logger LOGGER = LoggerFactory.getLogger(UmsAdminServiceImpl.class);


    @Override
    public UmsAdmin getAdminByUsername(String username) {
        UmsAdminExample example =new UmsAdminExample();
        example.createCriteria().andCreateTimeEqualTo(username);
        return null;
    }

    @Override
    public UmsAdmin register(UmsAdmin umsAdmin) {

        return null;
    }

    @Override
    public String login(String username, String password) {
        return null;
    }

    @Override
    public List<UmsPermission> getPermissionList(Long adminId) {
        return null;
    }
}
